Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add wildfly-maven-plugin to CI #176

Merged
merged 1 commit into from
Sep 20, 2023
Merged

Add wildfly-maven-plugin to CI #176

merged 1 commit into from
Sep 20, 2023

Conversation

dmlloyd
Copy link
Member

@dmlloyd dmlloyd commented Sep 20, 2023

No description provided.

@dmlloyd
Copy link
Member Author

dmlloyd commented Sep 20, 2023

We may have inadvertently discovered a legitimate JBoss Modules bug 🥲

@dmlloyd dmlloyd merged commit ef0dd23 into jboss:main Sep 20, 2023
1 check passed
@dmlloyd dmlloyd deleted the ci-3 branch September 20, 2023 16:56
cd wildfly-maven-plugin
mvn -B -ntp versions:update-parent -DallowSnapshots=true -N
git diff pom.xml
mvn -B -ntp install -Djava8.home=${{env.JAVA_HOME_8_X64}} -Djava11.home=${{env.JAVA_HOME_11_X64}}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this work? The wildfly-maven-plugin requires Java 11 and uses the org.wildfly.tools:wildfly-parent https://github.com/wildfly/wildfly-maven-plugin/blob/61bfbe9dd704afe92ad07e686e3425f45ec88085/pom.xml#L27-L31.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, specifying a java8.home doesn't cause the profile to run; it only runs if the control file is present. The idea is that if we cut & paste the entry for other projects, we don't lose anything.

That said, we've since dropped Java 8 support from the POM in #207 so we could drop the install action for Java 8 and these properties without any side-effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants